package lab02.Test35;

/**
 * Created by tanfei on 2017/11/22.
 */
public class Manager extends Employee {
    //属性;固定工资
    double monthSalary;

    public Manager(String workname1,double monthSalary) {
        super(workname1);
        this.monthSalary=monthSalary;
    }
    public double computesalary(){
        return monthSalary;
    }

    @Override
    public double computeSalary() {
        return monthSalary;
    }
}

